<link rel="stylesheet" href="__STATIC__/admin/css/chat.css?v={:time()}" media="all">
<script src="__STATIC__/plugs/jquery-3.4.1/jquery-3.4.1.min.js"></script>
<script>
    var user_data = {$admin_info | raw};//session中的用户数据
</script>
<script src="__STATIC__/admin/js/chat.js?v={:time()}"></script>

<!--    <h1>管理员聊天室</h1>-->
<div class="chat">
    <div class="clearfix top">
        <div class="textarea">
            <label class="note note-public">公共</label>
            <div id="msg_public" class="msg_box">
            </div>
        </div>
        <div class="textarea">
            <label class="note note-private">私聊</label>
            <div id="msg_private" class="msg_box">
            </div>
        </div>
        <textarea id="data" name="describe"class="layui-textarea editor" placeholder="请输入聊天内容"></textarea>
        <div id="user_list" class=""></div>
    </div>

    <div class="tool-bar clearfix">
        <button id="open-link" class="layui-btn layui-btn-success">打开连接</button>
        <button id="close-link" class="layui-btn layui-btn-danger">关闭连接</button>
        <button id="send-message-public" class="layui-btn layui-btn-normal">群聊</button>
        <button id="send-message-private" class="layui-btn layui-btn-purple">私信</button>
    </div>
</div>